import http from "../request";
const apibase = "/api/JobItemShowLimited";

//获取关联显示
var getJobItemShowLimited = function (data) {
    return new Promise((resolve, reject) => {
        http
            .post(apibase + `/GetJobItemShowLimited`, data)
            .then((res) => {
                resolve(res);
            })
            .catch((error) => {
                reject(error);
            });
    });
};
//新增关联显示
var insItemShowLimited = function (data) {
    return new Promise((resolve, reject) => {
        http
            .post(apibase + `/InsItemShowLimited`, data)
            .then((res) => {
                resolve(res);
            })
            .catch((error) => {
                reject(error);
            });
    });
};



//修改关联显示
var updItemShowLimited = function (data) {
    return new Promise((resolve, reject) => {
        http
            .post(apibase + `/UpdItemShowLimited`, data)
            .then((res) => {
                resolve(res);
            })
            .catch((error) => {
                reject(error);
            });
    });
};



//删除关联显示
var delItemShowLimited = function (data) {
    return new Promise((resolve, reject) => {
        http
            .post(apibase + `/DelItemShowLimited`, data)
            .then((res) => {
                resolve(res);
            })
            .catch((error) => {
                reject(error);
            });
    });
};
export {
    getJobItemShowLimited,
    insItemShowLimited,
    updItemShowLimited,
    delItemShowLimited
};
